﻿<%@ Page Language="C#" %>

<!DOCTYPE html>

<script runat="server">

    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void Button1_Click(object sender, EventArgs e)
    {
        lblMessage.Text = "没有表单提交信息，直接通过按钮单击事件修改相关控件信息";
    }
</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:TextBox ID="textinput" runat="server">请输入内容</asp:TextBox>
            <br />
            <asp:Label ID="lblMessage" runat="server" Text="lblMessage"></asp:Label>
            <br />
            <asp:Button ID="btnsubmit" runat="server" Text="确定" OnClick="Button1_Click" style="height: 27px" />
        </div>
    </form>
</body>
</html>
